﻿namespace BrettM.Web.Hosting
{
    public interface IErrorHandler
    {
        /// <summary>
        /// The IsHandled event is triggered prior to parsing the 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        /// <returns></returns>
        bool CanHandleError(object sender, ErrorEventArgs e); 
        void OnError(object sender, ErrorEventArgs e);
        
    }
}
